{% extends "base_petadmin.html" %}

{% block mainheading %}
    {% if object.pk != None %}
        {{ block.super }} \ Edit deviation
    {% else %}
        {{ block.super }} \ Create deviation
    {% endif %}
{% endblock %}

{% block object-tools %}
    <ul class="object-tools">
        <li><a href="/pet/deviations/">List of deviations</a></li>
    </ul>
{% endblock %}

{% block content %}

    <form action="." method="post">
        {% csrf_token %}
        <table>
        {{ form.as_table }}
        <tr>
            <td colspan="2">
                <input type="submit" class="default" value="Save" />
            </td>
        </tr>
        </table>
    </form>

{% endblock %}
